//
// Created by P51 on 25-8-19.
//

#include "cxidesignerbase.h"
CxiDesignerBase::CxiDesignerBase(QObject* parent)
	: QObject(parent), m_isInitialized(false)
{
}
bool CxiDesignerBase::isContainer() const
{
	return false;
}
bool CxiDesignerBase::isInitialized() const
{
	return m_isInitialized;
}
QIcon CxiDesignerBase::icon() const
{
	return d_icon;
}
QString CxiDesignerBase::codeTemplate() const
{
	return d_codeTemplate;
}
QString CxiDesignerBase::domXml() const
{
	return d_domXml;
}
QString CxiDesignerBase::group() const
{
	return "CoreXI Base Widgets";
}
QString CxiDesignerBase::includeFile() const
{
	return d_include;
}
QString CxiDesignerBase::name() const
{
	return d_name;
}
QString CxiDesignerBase::toolTip() const
{
	return d_toolTip;
}
QString CxiDesignerBase::whatsThis() const
{
	return d_whatsThis;
}
void CxiDesignerBase::initialize(QDesignerFormEditorInterface* designer_form_editor_interface)
{
	if (m_isInitialized)
	{
		return;
	}
	//如有需要在此注册扩展
	//START
	//END
	m_isInitialized = true;
}